mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sun, 14 Jun 2026 08:12:01 +0000 (10:12 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 14 Jun 2026 08:12:01 +0000 (10:12 +0200)
commitc2098cf02e74c852f32399552f479c0e8723739b
treef5aeb8f8299d84a7a47936c875e17ee27d6b2194
parent9b651cc3556ed4f78e0f23b346c9b36a01cb0257
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h